package com.chinasoft.class1.group4;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class CenChaoLiang implements TrueWord {
    List<String> wordList = new ArrayList<>();
    public CenChaoLiang(){
        wordList.add("我，要，吃，饭！！！！！");
        wordList.add("你说我说不说");
    }

    @Override
    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }

    @Override
    public String getName() {
        return "岑潮亮";
    }
}
